<admintpl file="header" />
<link href="/public/simpleboot/themes/live/live_panel.css" rel="stylesheet">
<!--编辑器基本配置-->
	<script type="text/javascript" src="__PUBLIC__/js/ueditor/ueditor.config.js"></script>
<!--编辑器完整代码-->
	<script type="text/javascript" src="__PUBLIC__/js/ueditor/ueditor.all.min.js"></script>
	<script src="/public/js/jquery.js"></script>

	<script src="/public/simpleboot/themes/live/live_panel.js?ver=1.0"></script>
	
	<script src="http://cdn.ronghub.com/RongIMLib-2.2.4.min.js"></script>
    <script src="http://cdn.ronghub.com/RongEmoji-2.2.4.min.js"></script>
	<!--  
		<script src="__PUBLIC__/js/common.js"></script>
		<script src="__PUBLIC__/js/layer/layer.js"></script>	
	-->
	<script src="http://cdn.ronghub.com/RongIMLib-2.2.4.min.js"></script>
	<script src="/public/simpleboot/themes/live/live_panel_chatroom.js?ver=1.0"></script>	
	<script src="/public/simpleboot/themes/live/jquery.sha1.js"></script>
	<script src="http://cdn.ronghub.com/RongEmoji-2.2.4.min.js"></script>
	<script src="http://cdn.ronghub.com/RongIMVoice-2.2.4.min.js"></script>
</head>

<body>

	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<if condition="$add_from eq 0">
				<li><a href="{:U('Admin/Live/index')}">直播列表</a></li>
				<li><a href="{:U('Admin/Live/add')}">添加直播</a></li>
			</if>
			<li class="active"><a href="{:U('Admin/LiveGraphic/news_relation', array('live_id'=>$live_id))}">直播员管理面板</a></li>
		</ul> 
	</div>
	
	<div id="outside">
		<div id="live_top">
		  <ul>
		  	<li>ID: {$live_id}</li>
		  	<li>直播标题: {$data['name']}</li>
		  	<li>开始时间: {$data['start_time']}</li>
		  </ul>
		</div>
	 	<div id="live_main">
	 		<div id="live_list">
	 			<div id="live_list_end_temp" style="height:0px; overflow:hidden;display:none"></div>	 			
	 		</div>	 		
	 		<div id="send_box">
	 			<div id="chat_box">
	 					<input type="hidden" id="live_id" value="{$live_id}"  />
	 					<!-- opt_type:1(浏览状态，新增状态,要上传非上榜的图文）；2（编辑状态:含正常数据的编辑，及上榜回复信息的编辑）；3：（上榜状态:要添加新的上榜图文） -->
	 					<input type="hidden" id="opt_type" value="1" />
	 					<input type="hidden" id="msg_id" value="0" />
	 					<input type="hidden" id="onlist_user_id" value="" />
	 					<input type="hidden" id="onlist_nickname" value="" />
	 					<input type="hidden" id="user_speak_time" value="0" />
	 					
						<script type="text/plain" id="pic_txt_content" name="newsContent"  style="width:702px;height:230px;" ></script>
					<!-- 防止在编辑器中按ctrl+回车自动提交 
					<form id="live_form" method="post" action="./index.php?g=Admin&m=Live&a=live_update&live_id={$live_id}"  onkeydown="if(event.keyCode==13){alert('button');return false;}" onSubmit="alert('form');return false;">
					</form>
					 -->
	 			</div>	 	 			
	 			<div id="prompt_msg">	 			    
	 			    <div id="btn_box">
	 					<div id="send_button" class="msg_btn" title="上传数据到服务器">发送</div>
	 					<div id="cancel_button" class="msg_btn" title="取消编辑或上榜">取消</div>
	 				</div>
	 				<div id="user_speak_content_box"> 
	 					<div id="to_top_prompt_info">新增普通图文内容</div>
	 					<div id="user_speak_content"></div>
	 				</div>
	 			</div>						
	 		</div>
	 	</div>	 	
	 	<div id="chat_room">
	 	    <input type="hidden" value="{$admin_id}" id="admin_id"/>
	 	    <input type="hidden" value="{$rcloud_token}" id="rcloud_token"/>
	 	    <input type="hidden" value="{$ryAppKey}" id="ryAppKey"/>
	 	    <input type="hidden" value="{$chatRoomId}" id="chatRoomId"/>
	 	    
	 	    
		 	<div class="r_box">
	            <div class="title">
	                                                  直播备忘
	            </div>
	            <div class="bw_con">
	                <p>{$remark}</p>
	            </div>
	        </div>
	        <div class="r_box">
	            <div class="title">
	                                                       互动聊天
	            </div>
	            <div class="bw_con">
	           	    <div class="btn_box1">
	                	<div class="input_box">
	                		<input type="text" placeholder="系统消息" id="sys_msg_input" class="input1" /><input type="submit" id="send_sys_msg_btn" value="提交" class="btn1" />
	                    </div>
	                </div>
	                <div class="liuyan_list">
	                    <div class="xtxx">系统消息：<span id="sys_msg_span" style="width:100px;text-overflow:ellipsis;word-break:keep-all;white-space:nowrap; overflow:hidden; "></span></div>
	                    <ul id="receive_msg_ul" style="min-height:90px;">
	                        
	                    </ul>
	                </div>
	                
	              	<div class="btn_box2">
	                	<div class="input_box">
	                		<input type="text" placeholder="实时评论互动" id="chat_msg_input" class="input1" style="width:170px;"/>
	                		<span id="emoji_span" style="cursor:pointer;"></span>
	                		<input type="submit" id="send_chat_msg_btn" value="提交" class="btn1" />
	                		给<input type="text" value="zrl_id" id="touser" />发消息
	                		<input type="button" id="tosendmessage" value="发送" />
	                    </div>
	                </div>
	            </div>
       		 </div>
       		 <div class="r_box" id="all_emoji_div" style="margin-top:-32px;z-index:999;background:#2c3e50;margin-right:40px;height:200px;overflow-y:scroll;visibility:hidden;"></div>
	 	</div>
	 	<div id="icon_explain">
	 		<div class="icon_elem2"><img src="/public/simpleboot/themes/live/img/li-bold.png" /><span class="icon_explain_text">加粗</span></div>
	 		<div class="icon_elem"><img src="/public/simpleboot/themes/live/img/li-color.png" /><span class="icon_explain_text">字体颜色</span></div>
	 		<div class="icon_elem"><img src="/public/simpleboot/themes/live/img/li-emoji.png" /><span class="icon_explain_text">添加表情 </span></div>
	 		<div class="icon_elem"><img src="/public/simpleboot/themes/live/img/li-image.png" /><span class="icon_explain_text">添加图片</span></div>
	 		<div class="icon_elem"><img src="/public/simpleboot/themes/live/img/li-video.png" /><span class="icon_explain_text">添加视频</span></div>
	 		<div class="icon_elem"><img src="/public/simpleboot/themes/live/img/li-album.png" /><span class="icon_explain_text">添加图集</span></div>
	 		<div class="icon_elem"><img src="/public/simpleboot/themes/live/img/li-link.png" /><span class="icon_explain_text">添加链接 </span></div>
	 		<div class="icon_elem_split"></div>	 		
	 		<div class="icon_elem2"><img src="/public/simpleboot/themes/live/img/li-refresh.png" /><span class="icon_explain_text">刷新</span></div>
	 		<div class="icon_elem2"><img src="/public/simpleboot/themes/live/img/li-edit.png" /><span class="icon_explain_text">编辑 </span></div>
	 		<div class="icon_elem2"><img src="/public/simpleboot/themes/live/img/li-to-top.png" /><span class="icon_explain_text">置顶 </span></div>
	 		<div class="icon_elem2"><img src="/public/simpleboot/themes/live/img/li-to-del.png" /><span class="icon_explain_text">删除 </span></div>
	 		<div class="icon_elem_split"></div>
	 		<div class="icon_elem2"><img src="/public/simpleboot/themes/live/img/li-to-list.png" /><span class="icon_explain_text">上榜 </span></div>
	 		<div class="icon_elem2"><img src="/public/simpleboot/themes/live/img/li-to-black.png" /><span class="icon_explain_text">拉黑 </span></div>	  
		</div>
 	</div>
</body>
</html>